package com.enjoyor.soa.traffic.core.tsms.service;

import java.util.List;

import com.enjoyor.soa.traffic.core.tsms.domain.RouteInfo;
import com.enjoyor.soa.traffic.util.pojo.Page;

public interface IRouteInfoService {
	
	@SuppressWarnings("rawtypes")
	public Page getRouteInfoPage(Page page, String routeId, String routeName, String taskId, String routeStartPlace,
			String routeTargetPlace, String routeTypeId);

	public List<RouteInfo> getRouteInfoList(String routeId, String routeName, String taskId, String routeStartPlace,
			String routeTargetPlace, String routeTypeId);

	public String addRouteInfo(RouteInfo routeInfo,String personName);
	
	public Boolean editRouteInfo(RouteInfo routeInfo,String personName);
	
	public void deleteRouteInfo(String routeId,String personName);
	
	/**
	 * 备用线路提升为执行线路
	 * @param taskId 任务编号
	 * @param routeId 原备用线路编号
	 * @param personName
	 */
	public void changeRouteType(String taskId,String routeId,String personName);
	/**
	 * 把某线路的执行线路改为备用
	 * @param taskId 任务编号
	 */
	public void changeTypeToStandby(String taskId);
	
	public List<RouteInfo> getRouteProcress(String ececuteDate,String taskName,String beforeLicensePlate,String schemeId);

}
